package org.cubikalabs.todolist.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import org.cubikalabs.todolist.vo.Todo;
	
	public class TodoEvent extends CairngormEvent
	{
		public static const GET_TODOLIST:String = "GET_TODOLIST"; 
		public static const SAVE_TODO:String = "SAVE_TODO"; 
		
		public var todo:Todo;
		
		public function TodoEvent(type:String, todo:Todo = null, bubbles:Boolean=false, cancelable:Boolean=false )
		{
			super(type, bubbles, cancelable);
			this.todo = todo;
		}
	}
}